-- GENERATED SPELL FOR [Fleet Master Firallon] --


function spell0_2546(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(32064,pUnit)
pUnit:RegisterEvent('Sorts_2546', 605, 1)
end

function Sorts_2546(pUnit, Event)
local choix_sorts_2546 = math.random(0, 0)
if choix_sorts_2546 == 0 then
pUnit:RegisterEvent('spell0_2546', 1, 1)
end
end

function mob2546_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2546', math.random(1500, 3000), 1)
end

function mob2546_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2546_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2546_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2546, 1, 'mob2546_Action')
RegisterUnitEvent(2546, 2, 'mob2546_Leave')
RegisterUnitEvent(2546, 3, 'mob2546_Kill')
RegisterUnitEvent(2546, 4, 'mob2546_Die')
